package com.ssyt.common.utils;

import java.util.Map;

import org.apache.struts2.interceptor.ApplicationAware;
import org.apache.struts2.interceptor.RequestAware;
import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;


public class BaseAction  extends ActionSupport implements RequestAware,SessionAware,ApplicationAware{
    
	private Map<String, Object> requset;
	private Map<String, Object> session;
	private Map<String, Object> application;
	
	public Map<String, Object> getRequset() {
		return requset;
	}

	public Map<String, Object> getSession() {
		return session;
	}

	public Map<String, Object> getApplication() {
		return application;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	public void setRequest(Map<String, Object> requset) {
		// TODO Auto-generated method stub
		this.requset=requset;
		
	}

	@Override
	public void setSession(Map<String, Object> session) {
		// TODO Auto-generated method stub
		this.session=session;
	}

	@Override
	public void  setApplication(Map<String, Object> application) {
		// TODO Auto-generated method stub
		this.application=application;
	}

}
